package com.jianglin.service;

import com.github.pagehelper.PageInfo;
import com.jianglin.model.Owner;

public interface IOwnerService {
    PageInfo<Owner> findOwnerAll(int page, int pagesize, Owner owner);
    PageInfo<Owner> findListByPage(Integer page, Integer pageCount); // 修改返回类型
    Owner queryOwnerByName(String username);
    int add(Owner owner);
    int delete(Long id);
    int updateData(Owner owner);
    Owner findById(Long id);
    void deleteOwnerUserByUserName(String username);
    Owner queryOwnerById(long parseLong);
}
